package com.genius.reservation.receiver.entity;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;

import com.genius.reservation.driver.entity.DriverOptionTime;
import com.genius.reservation.optionTime.entity.optionTimeInformation;
import com.genius.reservation.platform.entity.PlatformInformation;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * <p>
 * 
 * </p>
 *
 * @author baomidou
 * @since 2022-05-26
 */
@TableName("receiver_information")
@ApiModel(value = "ReceiverInformation对象", description = "")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class ReceiverInformation implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("收货员编号")
    private String receiverNumber;

    @ApiModelProperty("收货员名称")
    private String receiverName;


    @ApiModelProperty("0 空闲 1 忙碌")
    private Integer isFree;

    @ApiModelProperty("0 在岗 1 请假 2 离岗 3 休息中")
    private Integer dutyFlag;

    @ApiModelProperty("创建时间")
    @TableField(fill = FieldFill.INSERT)
    private String createTime;

    @ApiModelProperty("更新时间")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private String updateTime;



    @TableField(exist = false)
    private ReceiverOptionTime receiverOptionTime;

    @TableField(exist = false)
    private optionTimeInformation optionTimeInformation ;


    @TableField(exist = false)
    private Integer sure = 1;

}
